<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="css/Demo02.css"><!--外部样式表-->
</head>
<body>

<div id="div_container">
    <div id="div1">
     <form th:action="@{/update.do}" method="post">
    <table id="tbl1"  th:Object = "${role}">

        <tr >
            <td> <input type="text" name="id" th:value ="*{ID}">       </td>
            <td> <input type="text" name="name" th:value ="*{name}">   </td>
            <td> <input type="password" name="age" th:value ="*{age}"> </td>
        </tr>
    </table>
         <input type="submit" value="提交"/>
         <input type="reset" value="重置"/>
    </form>
    </div>
    </div>

    <!--I D : <input type="text" name="id" th:value ="${role.ID}"/><br/>
    名字:<input type="text" name="name" th:value ="${role.name}"/><br/>
    密码:<input type="password" name="age" th:value ="${role.age}"/><br/>-->



</body>
</html>